RSSSL\Security\RSSSL_Htaccess_File_Manager B

Total Complexity 79
Dependencies 0
Dependents 10
Total lines 548
Lines of code 287
Logical lines of code 159
Comment lines 165
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
ensure_htaccess_is_writable()
S
52 7 26
record_history()
S
51 7 25
applyMarkerBlock()
S
57 5 17
write_top_marker_block()
S
57 5 16
clear_legacy_rule()
S
57 5 16
record_history_from_rocket()
S
58 4 15
validate_htaccess_file_path()
S
66 4 9
write_rule()
S
62 3 13
insert_marker_in_correct_position()
S
59 3 13
determineHtaccessFilePath()
S
61 3 12
prepareLines()
S
62 3 12
are_markers_present()
S
60 3 12
get_rule_content()
S
61 3 12
get_htaccess_content()
S
71 3 6
log_error()
S
72 3 5
clear_rule()
S
61 2 13
get_instance()
S
71 2 6
validateRuleDefinition()
S
69 2 7
save_htaccess_if_changed()
S
65 2 9
__construct()
S
77 1 4
registerRocketHooks()
S
75 1 4
set_htaccess_file_path()
S
81 1 3
generate_marker_pattern()
S
74 1 4
remove_marker_block()
S
67 1 7
build_marker_block()
S
68 1 7
extract_name_from_marker()
S
74 1 4
is_htaccess_tracking_enabled()
S
80 1 3
file_exists()
S
80 1 3
cleanupEmptyLines()
S
74 1 4